<!DOCTYPE html>
<html lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>登录-360个人中心</title>
<link href="{{ asset('/dist/home/css/header.css') }}" rel="stylesheet">
<link href="{{ asset('/dist/home/css/footer.css') }}" rel="stylesheet">
<link href="{{ asset('/dist/home/css/dialog.css') }}" rel="stylesheet" type="text/css">
</head>
<body>
<div id="append_parent"></div>
<!-- 头部 start-->
<div class="full_sc">
<div class="w1000 header_center ClearFix">
<div class="h_c_logo">
<a href="{{ url('/') }}">
<img src="{{ asset('/dist/home/images/360logo.png') }}"></a>
</div>
</div>
</div>
<!-- 头部 end-->
    <div class="login-box-body">
        @if(count($errors) > 0)
            <p class="login-box-msg">
                @if(is_object($errors))
                    @foreach($errors as $error)
                        {{ $error }}
                    @endforeach
                @else
                    {{ $errors }}
                @endif
            </p>
        @endif
        <form action="{{ url('/home/logTodo') }}" method="post" name="login" style="background-image: url('/dist/home/images/bglogin.png'); height: 600px;">
            <div style="float: right; background-color: #F0F9FF; width:345px; height: 440px; margin-top: 68px; margin-right: 85px;">
                <div style="margin: 24px;">
                    <div style="width: 300px;height: 60px;">
                        <div style="margin-top: 13px;">
                <h4 style="font-size: 20px; color: #666666;"> 帐号登录 </h4></div>
                    </div>
                    <div class="form-group has-feedback">
                        <td colspan='2'>{{session("info")}}
                            @if (count($errors) > 0)
                                <ul style='font:13px/20px 宋体'>
                                    @foreach ($errors->all() as $error)
                                        <li>{{$error}} </li>
                                    @endforeach
                                </ul>
                            @endif
                        </td>
                    </div>
            <div>
                <input type="hidden" name="_token" value="{{$data["_token"] or csrf_token()}}"/>
                <input type="text" name="uname" value="{{$data["uname"] or ''}}" class="form-control" placeholder="用户名"  style="width: 294px; height: 44px; ">
                <span class="glyphicon glyphicon-envelope form-control-feedback"></span>
            </div>
                    <div style="height: 20px;"></div>
            <div class="form-group has-feedback">
                <input  style="width: 294px; height: 44px;"type="password" name="password" value="{{$data["password"] or ''}}" class="form-control" placeholder="密码">
                <span class="glyphicon glyphicon-lock form-control-feedback"></span>
            </div>
            <div class="form-group has-feedback">
                <div style="height: 20px;"></div>
                <img style="float: right; width: 80px;height: 44px;" align="top" src="{{url("/captcha").'/'.rand()}}"
                     onclick="this.src = this.src.replace(/\d+$/, '')  + Math.random();">
                <input style="width: 210px; height: 44px; float: left;" type="text" class="form-control" name="code" maxlength="5" value=""
                       placeholder="验证码">
                <span class="glyphicon glyphicon-picture form-control-feedback"></span>
            </div>
                    <div style="width: 294px; height: 24px; float: left; margin-top: 25px;">
                    <div style="float: left;"><a style="font-size: 16px; color: #666666;" href="">找回密码?</a></div>
                    <div style="float: right;"><a href="{{ url('/sign') }}" style="font-size: 16px; color: #666666;">注册账号</a></div>
                    </div>
            <div class="row"  style="float: left;">
                <div class="col-xs-4 pull-right"  style="float: left;">
                    <div style="height: 2px;"></div>
                    <button type="submit" class="btn btn-primary btn-block btn-flat" style="width: 294px; height: 40px; border-radius: 5px; background-color: #22ac69">登录</button>
                </div>
            </div>
                </div>
            </div>
        </form>
    </div>
</div>
<!--底部-->
<div class="footer Clearfix">
<div class="footer_bottom">
<div class="w1200">
<p>
<span class="font_arial">Copyright© 2006-2016 happigo. All Rights Reserved </span>
免费服务热线: 400-705-1111 | 固话也可拨打: 800-705-1111
<span class="font_arial">E-Mail: service@happigo.com</span><br>
湘ICP备12000157号 信息网络传播视听节目许可证号：1810530
</p>
<p class="footer_p">
<a href="http://www.itrust.org.cn/home/index/itrust_certifi/wm/2782875193.html" target="_blank">
<img src="{{ asset('/dist/home/images/foot_img3.png') }}"></a>
<a href="https://search.szfw.org/cert/l/CX20150428007576007720" target="_blank">
<img src="{{ asset('/dist/home/images/foot_img4.png') }}"></a>
</p>
</div>
</div>
</div>
<!-- jQuery 2.2.0 -->
<script src="{{ asset('/dist/admin/plugins/jQuery/jQuery-2.2.0.min.js') }}"></script>
<!-- Bootstrap 3.3.6 -->
<script src="{{ asset('/dist/admin/bootstrap/js/bootstrap.min.js') }}"></script>
<!-- iCheck -->
<script src="{{ asset('/dist/admin/plugins/iCheck/icheck.min.js') }}"></script>
<script>
    $(function () {
        $('input').iCheck({
            checkboxClass: 'icheckbox_square-blue',
            radioClass: 'iradio_square-blue',
            increaseArea: '20%' // optional
        });
    });
</script>
<!-- 表单验证 -->
<script src="{{ url('/dist/home/js/login_index.js') }}"></script>
</body>
</html>

